<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--关键代码-->
    <script th:src="@{/webjars/jquery/3.2.1/dist/jquery.min.js}"></script>
    <script th:src="@{/webjars/bootstrap/4.3.1/js/bootstrap.min.js}"></script>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/4.3.1/css/bootstrap.min.css}"/>
    <link type="text/css" rel="stylesheet" th:href="@{/static/css/style.css}">
</head>
<body>
<form action="startUpload" method="post" enctype="multipart/form-data">
    <div>
        <div class="input-group-btn">

        </div>
        <input type="file" name="myFile" class="form-control" />
    </div>


    <div class="input-group">
        <div class="input-group-btn">

        </div>
        <input type="submit" class="form-control" value="上传" />
    </div>

</form>
</body>
</html>